Added AutorizationListener to check if logged in when trying to jump to pages.