Refactor all controllers that needs sid checking to do this check in constructor of base class