Made it so that the index page only shows a user pictures which belong to them