adding in avatar url to endpoint