How to maintain session and display login and logout time duration in a jsp and servlet project?