updated otp-generate template with admin-admin support