changed the way to configurate the requests