Create "LogoutServlet". When user is logout then hes session is deleted from database.