Invalid payload only if user_id is None
Merge pull request #46 from astagi/feature/payloadcheckfix

Invalid payload only if user_id is None