Redirect from login/register page if user is logged in