Encapsulated user.class.php