modify routes so it's more rest-like