Preparing DAO object and ignoring pass credentials