fix(avatar): fix handling of upload return value

SD-225
feat(avatar): set new avatar for current user