redirect page and logout