Added session time out and debug for messages updated