completed first pass of api (all functions)
moved paginage_params from helper to users controller
move the shared test to after the get
added it to json output for index views