Add average rating method, grades controller