implemented sql code that will select every user for index page