move load_form to api