implemented contract management in the app ui