*refactored employeeController