Fixed bug in AuthController.php