doing a pretty redirect on logout
fixed issue with filter and logout