Added functionality for listing users