Added isLoggedIn. Doesn't re-render content when data is changed