Add api for checking users