edited AuthController