Finished the api
Finished the authentication