Configured errors views to use blocks
Added console logging via morgan