modified servlets to use hibernate sessions