Added saving of last username and host