fix session problems with all console.log on
fix client server event handler registration order, remove console.log