diff --git a/frontend/vanilla/html/userprofile.html b/frontend/vanilla/html/userprofile.html
index f20607f..8f65be7 100644
--- a/frontend/vanilla/html/userprofile.html
+++ b/frontend/vanilla/html/userprofile.html
@@ -3,10 +3,10 @@
- Resume
+ Page Title
-
+
@@ -77,16 +77,18 @@
}
const data = await response.json();
- if(response.ok){
- populateFields(data.display_name, data.email);
- }
- else{
- alert(response.error);
- }
+ if(response.ok){
+ populateFields(data.display_name, data.email);
+ document.body.style.display = "block"; // Show page
+ }
+ else{
+ alert(data.error);
+ }
}
function populateFields(displayName, email){
document.getElementById('displayName').textContent = displayName;
+ document.title = `${displayName} - Blink`
document.getElementById('email').textContent = email;
}