Added external facebook login logic