added conditional logic to show/hide admin menus based on user admin status