adding function create: loads the form helper and library, setting up validation rules and condition