add routes to app and amend rspec test accordingly