[CS-4907] - Get/check user attributes in templates

Usage in template:

e.g.
```
 {{ if $user->hasAttribute('bio') }}
        {{ $user->getAttribute('bio') }}
{{ else }}
        no attribute
{{ /if }}
```