Login usernames are now gathered with getKeys
Adapted to newest libs