to handle the terminal login sheel
add Kill function