Added user editing functionality.