server saves data through DAO