redirect correctly after /private page