edit sessions now properly works, and sessions appear in order