login redirect is now working!