Refactored logs UI