added assignadmin functions (sampledata model)

this function is there to populate the created_by field.
nicer for displaying events.