Redirect to dashboard if already logged in