Rails app that manages subscriptions and token generation