Add permission check to user menu

Also export getUserList and getRoomList