add login and add website api of chrome extension.