checking the  Session is init or not, but I am not sure is correct or not.