identify users based on MIT certificate on scripts and generate token to send back to other server