Fixing FB logout bug by using constant template helper (after navigation and going back to home page, FB.logout wasn't working)