Fixed an NPE when the users name is null