fixed logged out session crashing on frontpage