fixed problem when logged out of fb