added logs endpoint