added all the get and set func for header and messages