basic api functionality is working
completed tests for user#index
specs for update user via api and implementation