create all UI components on the login page, including the header, login form, and OAuth selection
Perform security checks on the login popup to minimize bugs in unexpected situations.