submitting form redirects page to itself, so it refreshes