fix logout error when no facebook session found