AuthController to handle authentication and session management