added changing states for all the users