Fixed issue with the create_user() failing without a host. GitHub #246
pep8 cleanup