Correct the redirection if the user haven't any right
Add log during login/logout