Fix some bugs in the userlist