add support for user-attributes

fixes #18
Merge pull request #19 from nkovacs/patch-1

add support for user-attributes