metadataStore.userapi.commands first iteration complete. Sample code updated for current user api