add pagination (gem will_paginate)