w/a for avatars, minor fixes

there were some issues with showing avatar due to hardcoded server url.