add before_filter to questions controller and will_paginate gem