Reorg

Created a separate handle_form function on the frat page.