adding a clear log button and a disconnect button