You need to make it a /mob/Logout, same for the login; ghosts need to trigger it and their paths aren't living, it is dead.