updating with basic edits
fixing restler bug
fixing empty matches bug
updating with manual authcode hack
adding response check and converting to correct json