Redirect to root_url if login.