Changing the logic of facebook login to check for uid and provider before email