better authentication redirection

Added better redirection support for Laravel.