added validation to enter new employee