added endpoints and modified configuration