add pagination with will_paginate gem