Added simple implementation of session object (SessionBean).
Switched from session object to SessionBean object for session handling.
Edited behaviour of LogoutServlet to work with SessionBean object.
Made handling of cookie and application context more robust in LogoutServlet.