Added logging and DAO user