Set helper methods for username and avatar.