Updated user authentication