Added will_paginate and public_model(s) function to Post model