Fix PhpSession component 

Check if key exists in $_SESSION, to avoid "Undefined index" error if it's not empty.