Fixed user authentication