change array in the controllers to assoc

then use the array_values and list functions to extract values
Merge branch 'master' of https://github.com/markogrady1/grady_route1.0