Created submit button and gave it functionality