redirect from sign in and register pages if logged in