transition between pages after login/logout