To use session class, encryption key  added

in "config.php"
data called from database in view file