made custom id optional via userstore setting