configuring rest backend