added API call to usersController