Add middleware to redirect based on logged in or not and route

Addresses #22.

If there is a user logged in and someone tries to access `/`, `login/` or `register/` it will redirect to the user's poems list. Likewise if there is no logged in user and someone tries to access a page that requires a user, it will redirect to `/`.