added route
added /err route