added simple OAuth implementation