is this footer in here to catch things in worst case ? 

if you're having a conditional in here, could you just use the same footer for logged in/out?