Changes in the DAO

aux methods to set prepared statements