fixed big bug in loginWithFacebook