Updated logic to hide menu items from read only account and the edit boxes on show_pid