fixed spelling mistake
added an endpoint /resource for resource servers to validate tokens