Add 2-factor authentication in authorize method