Fixed bug in user.php