fixed api calls for users