hide links and before_filter in layout and snippet controller for admin only access, default value of published to unchecked on new page form