Message DAO logic added