cleaned facebook login code