search page with pagination, using db to sort by nickname/username