Merge pull request #437 from onaio/fix_to_native_method

fix for AttributeError: 'NoneType' object has no attribute 'user'