fixed some logger outputs to print ID and username if possible