switched to get for routes