server end for rpeat app