Starting to figure out how to use and store session data and use cookies