Added validation for the submit story form
Updated index.php with necessary form validation