added some API pieces. generalized the subscriptions a bit. started working on openid.