converted to oauth representation, changed coffee logic