Now gets the userID properly or creates a random one
Added new events