changed base date and dao, because preverious version can't work with few users at the same time.