Session Check function in all controllers

Session Check function in all controllers