add index on user and created_at to log