Add require_login/login_redirect methods to main user class