standardization code in user.php