facebook auth js update and google auth condidtion for login