Check session before load any file or html