interfacing with imgur and docs