added session validation before performing operations to get rid of errors SS-258
Merge pull request #74 from harsha89/SS-258

added session validation before performing operations to get rid of errors SS-258