Added a decorator for verifying authentication and authorization for REST requests.

Applied authorization to /sets? to demonstrate how it operates.