AN INTEGRATED APPROACH FOR AUTHENTICATION AND ACCESS CONTROL WITH SMARTPHONES