httparty added for JSON https comunication to back end