Added check to automatic commit that transaction hasn't been commited
Changed oauth2 library to mlyons version
Removed /tmp/log winston logger