system to insert earner in db with front end form