completed first version of the API
added authentication and delete method
added basic formatting