improved Sessions handle