add helper middleware; add panel objectifier for easier access in views