Move params checking to controller
Merge branch 'feature-results' into develop