use attr_writers to set user attributes