added logs to ui