add /states endpoint