Updates move form to correctly redirect.

Ensures that the form correctly redirects when submitted. Moves WP's
get_header function after the call to redirect, to avoid having
duplicate headers sent to the page.

Removes unnecessary spaces between PHP blocks and updates indentation
for readability.