started making submit and get result functions

also figured out how to show and hide divs