[client][users] Replace flags with user types