refactor EmployeeController