cleanup, adds app to config.ru so we can run with rackup instead of ruby
adds proper authorization routing and helper methods logged_in? and authorize!