add method logout