fixed routing

Now routing in jersey will work