replaced will_paginate gem with kaminari gem