Token based authentication/Security is now working to an extent