read session when visit show pages