added index method
added a table to display all users