handle exceptions when not logged in
init "isLoggedIn" state of the controllers at init time