switched XOAUTH to XOAUTH2 in the login method