User.php fixed