Use factory class for session checks in all controllers