Implemented XOAUTH authorization