session userid change and convert config variable in dbprop.php to constant