got logout working