added username and password in Message and Attachment