fix multiplying f params when submit form;
split api params into concern;
refactor permit_params api call;