login_required into function get_form()