removed some unused lines of code
removed some unused routes