Você precisa escapar das aspas duplas nesta linha:
echo ("you're in, click <a href="#">here</a> to enter your profile");
Deve ficar assim:
echo ("you're in, click <a href=\"#\">here</a> to enter your profile");
echo ("you're in, click <a href="#">here</a> to enter your profile");
echo ("you're in, click <a href=\"#\">here</a> to enter your profile");