move login function to pixivbrowser