Simplified the employee editing code and removed unnecessary employee directive