add support for user-attributes

fixes #18