Api service

* Browser cache
* Automatically add authorization header if any
* Clear cache on post, put and delete