Add redirect support on login