added  in view_where function of abstractc controller
defined view_where function in score controller
commented some rules that were causing errors