more changes towards being ext jsonp compatible, solidified some of the db token and login apis