Modify authorization
Write rspec test for authorization related changes