Added authentication/authorization to API