TODO .. logintype can also be nem_id