verify if user exists before generating a login based certificate