added basical api request with loading indicators