Routes division on private and public
decoupling code for private and public routes