Add authentication for api
-Unauthentication for GET request
-BasicAuthentication for other request