Secure WSO2 Rest APIs using Handlers