Added api calls on server