added callbacks to set timestamps for user