refactor: use key_name for UsersDb