Use the the new process to logout

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>