implement readonly attribute boolean isLoggedIn