Added views and controller for errors