added option of testing oauth in index.html