basic routing structure with public and private routes