edit constructor to set the createdAt member to DateTime.Now