Added users API calls for login and register