split logout page from logout script