Fixing a bug with dispatching multiple events at once

This will now catch events that don't return a status of 200 from google.

Also refactored some of the private variables to make it easier to read.
Setting cookie to use the time at which the current session was started

Instead of using the current time, use the time the session was started to help track how long a user played a game.