Rework of sessions and users. Added levels