changings in servlets after testing