refactoring admin servlets