add new function to api to get applicant category