Why is my form only allowing one entry after submitting it?