added UserTemplate, and some adapters