Changes to Fix the User List

Hi, 
I have made some changes to show the User list properly, also I have adopted the code by including your tutorial code to just make it as a starter package