add functionality to change API url/API key in user panel