Added pagination using will_paginate