Added form to main view and routed post to the same.