subscription related code updated to validate user session
Merge branch 'master' of https://github.com/wso2/enterprise-store