added unirest to logic.rb