Added a route to handle form submission.
Defined insert_picture action.