add helpers to pages controller