Added the checks for Employee record creation.