fixed sandbox url, added method to fetch create profile token and unit test for it