Session util and service; power service refactoring