fixing gadget insertion issue
Merge branch 'master' of https://github.com/wso2/enterprise-store
passing url for sorting
Merge branch 'master' of https://github.com/wso2/enterprise-store
Merge remote-tracking branch 'upstream/master'

Added a fix to prevent users from accessing the publisher pages and api without been logged in.

If an authenticated user attempts to access a publisher page they are redirected to the login page
If an authenticated user attempts to access the internal API a 401 response is sent.