added bad route
added bad route
moved puts to logger