finish user authentication