User state controller and service written and printing a state object
editting comments
merged complete