finishing user authentication