added laravel redirect support for authentication