Integrating user authentication