check if session is loaded