make determining of administrator or not more resilient
remove redundant static_pages_helper