Add authentication to oauth