renamed and merged form_validate with validate class