get input from one page to another