form processing will log in db and file