added logs in route