moving the login callback before redirect