Abstracts the login logic from the home page and into new routes
Adds require_login before_action (except in sessions controller)