added cloud auth and grabbing ext IP