Add logout method