Added functionality so that the constructor of ChallengeMessage updates
the dabase, using the DAL