make public key of a user required
check public key validity