adding user event to main