added assign to user postfunction