work on log out scrip