fixed loading of an avatar on subscribe, checks first if an avatar is available, this also required fixes on the server side