Refactored user and bank daos.