add code for the rest server