Minor patch: syntax, and indentation
Issue #32:halts on curl error. Fixed -u funcionality