Improved performance of event view and added logout servlet.