starting the api for the users