Added Error and Success pages.