refactored staff servlet