better way to do url root