Setup enhancements
fixed bug in encrypting root password and bug on javascript logout