Adding log messages, sending more info to client.