creates json object with correct keys and values
cleaned up blank space on create_user.js