Refactored oauth login. Added "connectWith" functionality.