updated the getMessage() method in DAO to demonstrate how named parameters can be used