added support for login, password and port to bin