add login & terminal routes to routes.rb