Fix template issue when displaying username