better way to get user
use python2.7 for subprocess
refactor to use post and put for images and commits
fixup