fixes #3 cleanup subscriptions code, add purchase signature verification