bugfix: redirect to dashboard when already logged in