more fixes to support db. Not employee data can get saved in db