added an interface that I will change stormpath to conform to