Refactoring vars SESSION