Finished basic user authentication