configuring the api webapp