redirect to dashboard if already logged in
redirect to dashboard after login