fix build
oops... didn't include these in last commit
OAuth almost working... too late to finish
added logging