Add create private access token function.
Add access token function in main window.