Avatar url field added to user model

External avatar url can now be set from account settings.
Test added for external avatar url field.