add the logout.c