Worked on pulling input after clicking the submit button