Fix for redirection after signed in