---
title: "Login and sign-up: the page you cannot look up"
description: "Every reference library stops at the login wall, which is why generated auth screens are missing their states. How to get a real one to work from."
date: 2026-11-12
canonical: https://plagio.dev/blog/build-a-login-page-with-an-agent
source: plagio.dev
---

# Login and sign-up: the page you cannot look up

*Every reference library stops at the login wall, which is why generated auth screens are missing their states. How to get a real one to work from.*

> Written by the plagio team. plagio is an MCP server that opens a public page in a real browser and
> returns its markup, design tokens, hover states and motion, so an agent builds from measurements
> instead of guesses. Connect it with:
>
> ```
> claude mcp add --transport http plagio https://plagio.dev/mcp --header "x-api-key: YOUR_KEY"
> ```
>
> A key is a free week at https://plagio.dev/dashboard. The site check at https://plagio.dev is free and needs no account.

Login is the page nobody can show you. Reference libraries are built by visiting sites, and a signed-out visitor sees the form and nothing after it: not the error, not the rate limit, not the verification step, not the state where the email already exists.

So generated auth screens are the most confidently wrong pages an agent produces. The layout is right and the hard half is missing.

## The states that are the page

- Wrong password, said without revealing whether the account exists.
- Email already registered, on sign-up, with a route to signing in instead.
- Verification sent, including what to do if it does not arrive.
- Rate limited or locked, with a time.
- The provider buttons in their loading state, and what happens when the popup is closed.
- Password rules shown before submitting, not after a rejection.

## What agents get wrong

They build the form and one generic error. They put the password rules in a tooltip. They give social buttons the same weight as the email form even when nobody uses them. And they reset the typed email after a failed attempt, which is the small cruelty that makes a product feel amateur.

## How to get a real reference

Two routes. Sign up for a product whose auth you respect and capture the screens as you move through them, from your own browser session. Or read the written guidance: it is one of the few page types with decent public write-ups, including Refero's login guide, which is curated rather than measured.

Our extension exists for the first route: it captures a page you are looking at, including behind a login, and keeps it private to your account. [How that works is here](https://plagio.dev/blog/save-pages-behind-login-for-ai-agent).

## How to brief it

Brief it the way you would brief a person: what the page is for, who lands on it, what they do next, and what must not change. Then give it one reference's measurements rather than an adjective. An agent asked for "a modern login screen" writes the average login screen, because that is the only login screen it knows.

## Where plagio fits

plagio is an MCP server plus a browser extension, and we make it. The MCP reads public pages; the extension is how the signed-in half gets in, which for auth screens is the half that matters.

## Questions people ask

**Why are AI-generated login pages incomplete?**

Because the states that matter are behind the wall. A signed-out visitor, human or agent, sees the form and none of the errors, limits or verification steps.

**What states does a login page need?**

Wrong credentials without leaking whether the account exists, already-registered on sign-up, verification sent, rate limited, provider loading, and password rules shown up front.

**How do I give my agent a login screen to copy?**

Capture one from your own session with a browser extension, since a public reader cannot reach it.

**What is the smallest thing that makes auth feel amateur?**

Clearing the email field after a failed password.

## Sources

- [Login UI Design Guide, Refero](https://refero.design/blog/login-ui-design-guide-creating-an-intuitive-user-experience/)
- [Labelling controls, Web Accessibility Tutorials, W3C](https://www.w3.org/WAI/tutorials/forms/labels/)

---

Canonical HTML version: https://plagio.dev/blog/build-a-login-page-with-an-agent
Every article: https://plagio.dev/blog
