changes to user.php