fix error with no password in db and no passed password to method
new final design

- adding templates
- prepare compose message