added grant stuff
Fix routes.rb root path conflict