Switched persistent data from cookies to the session

This makes the information a bit more secure