removed public
fixed check session details