Redirection after logout fix