use a better way to log out if logged in;
add mysql-connect option; command to connect db;
some translations;