separate the oauth part