added logout script