NME : change the way to retrieve the type of user (for each user instead
of globally)