redirect from register if already logged in