Changed api to display users in sorted order
Made changes to the User model