Merge pull request #94 from skpcharles/master

removed unwanted code from inviteUser API
Added fix for NPE