Made login view redirect already logged in users to dashboard.

Fixes #25