fixed route bugs. added  server