Added console log to check route.
Added console logs.