Implementing will_paginate gem