Basic logic in router pages