updates to user.php