feature: refactor session for model
feature: new function in admin