Added AuthMiddleware for basic authenication logic for each non-GET request