Added exception handlers in the website