added conditionals for the poem submit button