customizes feed query based on user
paginates feed