Adding logging function to SocketController