Organizes logic to handle form posts