added a method to get all users list

Hi,
I have forked the code to add a get user function list. 
thanks
Anu