process rentetion data server side