Implemented function to fetch user list