Fixed a bug in the list authorized user code