Added will_paginate gem for paginating posts and topics