Fix casing of loggedIn layout reference