Working with displaying data on index page