adding editUser.js and update edit_user views, to support json