routing small fix and basic user editting