Fixed bug where user can submit form without filling it out