changed xml to json in users index page