login and user authentication finished