Move routing methods for id in to uid file