A federated identity management system for government applications