modified users.php to a class "User"