2FA Engine for Rails