Relocation of admin related routes. Repository functions added.