fixing login bug when user has two linked social account