Feature/log api calls