How to auto reload a form upon submission