Fix user authentication in page.html