secure password and setting the default host and port