removing redundant imports + printing endpoint URI