Fix user data format to JSON
Fix way to check for response key success