fix KeyError

Fixes the KeyError you get when getting to the list of users