Add redirect support when user is connected or not