Added authorization and the permission class to the app.