Add member active check middleware