if response is not null and if it is successful
Merge pull request #80 from rmdstudio/master

if response is not null and if it is successful