Add form_render function, used to display data on form for edit; make private functions private