got logout implemented