hide links and before_filter in layout and snippet controller for admin only access