Fix some redirects. Redirect to dashboard if logged in