added registerDate and modified 2connection websocket bug