Updated routes with controller info and layout.jade under views to display an error alert if error defined