set up resident routes