added in new model refdate to record all the bonuses to the users; each refdate has a created_date and end_date, which record the bonus period. it belongs to a user, which means the bonus is for this specific user; it belongs to a reference, which means it is generated because of this specific reference