Finished Admin Authorization

All authorization seems to be working correctly now. All that would be
left to do with authentication stuff is to show the flash messages when
there are errors when logging in and tidy up views.