login work
Add reboot command
Add logout command
Correct var name is with a leading _
Cleaning
Call to chk_login to verify if we are logged