added basic support for custom attributes on user model