Servlet annotation on login and logout.