API for login/ad serving/etc.