When no hash is given, instead of always creating a new one, use the previous one if user has visited before.
When no hash is given, instead of always creating a new one, use the previous one if user has visited before.