add nonzero methods to support existing code
pep8
Merge pull request #300 from dimagi/user-status1

add nonzero methods to support existing code