Added prevent default to submit button so the page doesn't automatically refresh