Remove deprecated function session_register() in php 5.4.x