Add hash invalidation on logout

Add a LogoutHandler to use with Symfony security component to ban hash request when a user logout

see #68
Duplicated line or on purpose?