Add error messages and delete page and button to subjects