Added accepting a token passed from mobile browser.