clicking on words sets the session variable to that word and displays it on screen