not found error page and controller

implemented not found error page and edited the existing one for error
handling