fixed for ssl and navigating between pages on facebook