User insert and event handler