Update session.php

Code improved, Plugin translation added