changed routes to localhost