Added basic implementation for /candidates/ endpoint