Removed some hardcoding in the form.
Added login authorization to the submission form page.