Add headers to register function

My ID is not a student number.

So, I changed 
  if ID in req.text: 
To
  if 'logoutLink2' in req.text:

Thanks.