added endpoint to sercurity config