prevent possible NPE

- author may be null (for deleted users)
- author name may be null for system messages