Fixed errors in Auth.php