3Edit Web Builder iconLesson 11 · How web apps work

The complete login journey

From a new account to a forgotten password, every screen in order.

A login is more than one form. Follow a customer through every screen of the Ecommerce starter kit, from creating an account to resetting a forgotten password, and see the emails, the admin and the staff access that make it work on a live site.

About 8 minutes to readLast updated

By Humayun Rashed, founder of 3Edit

Why the whole journey matters

User login and accounts explains what a login is: accounts, roles and the rules next to the data. This lesson follows the journey a customer actually takes, screen by screen, on a store built from the 3Edit Ecommerce starter kit.

Every step has to work on your live site, not just in the preview. When sign-up, the confirmation email and the password reset all work smoothly, customers come back easily and trust your site with their details.

The customer’s journey

Here is the path a new customer takes, with the names they see on each screen.

  1. Create your accountThe customer fills in Full name, Email, Password and Confirm password.
  2. Confirm the emailIf your project asks new accounts to confirm their email, they see “Account created”, and a confirmation email arrives.
  3. Sign inOnce confirmed, they press Sign in and enter their email and password.
  4. Their own areaSigned in, they open their customer area: Overview, Orders, Bookings, Addresses, Wishlist and Account Settings.

When a customer forgets their password

It happens to everyone, so the reset journey matters as much as sign-up.

  1. Forgot password?On the sign-in screen, the customer presses Forgot password?
  2. Reset your passwordThey enter their email and press Send reset link.
  3. The emailA reset email arrives, with a link.
  4. Choose a new passwordThe link opens Choose a new password, and they can sign in again.

Emails that arrive on a live site

Confirmation and reset emails need a sender. In the store admin, open Settings → Notifications and choose Resend or your own SMTP server, then press Save email settings, and use Send test email to see one arrive. The store emails guide shows every click.

When you publish, 3Edit sets Supabase Auth, the part of Supabase that handles sign-in, to use that sender and your live address. That way the links in confirmation and reset emails open your live site.

  • Testing before you publish? Supabase’s built-in email sender is for trying things out: it only delivers to members of your Supabase project’s team, and only a few emails an hour. Use email addresses you can open, as the practice in User login and accounts explains.

The admin and your staff

The first account created on the store becomes its admin, so create yours before you share the site. The store admin guide shows how.

Admins can add staff under Settings → Staff and choose the areas each person can open: Products, Orders, Customers, Leads, Bookings, Discounts, Blog, and Shipping & tax. Someone who packs orders might need only Orders; someone who writes posts might need only Blog. How a website or web app is built explains why each area has its own permissions.

Test the whole journey

  • As a new customer: create an account with an email address you can open, confirm it, sign in and open each page of the customer area.
  • With a forgotten password: sign out, press Forgot password? and follow the email to choose a new password.
  • As a second customer: sign up again with another email address and check neither customer can see the other’s orders or addresses.
  • As staff: add a staff member with one area, sign in as them and check they can open only that area.
  • On the live site: repeat sign-up and the password reset after you publish. The testing guide has the full checklist.

Try it in 3Edit.

These prompts work on a store built from the Ecommerce starter kit, such as the one in the online store project. Read User login and accounts first, and connect your Supabase before you test sign-up, because accounts hold personal details.

The businesses in these prompts are fictional practice examples. When you build for a real business, only ever show real reviews from real customers: invented reviews mislead customers and are against UK consumer law.

  1. 1Explain the journey

    Explain, in plain words, every step a new customer takes on my store, from Create your account to signing in, and what happens if they forget their password. Don’t change anything.

  2. 2A welcoming sign-up page

    On the Create your account page, add one short line under the heading: “Track your orders, save your addresses and check out faster.” Change nothing else.

  3. 3Check who sees what

    Explain which pages a customer, a staff member and an admin can each open on my store, and where each rule is checked. Don’t change anything.

Then test it yourself: create two customer accounts with email addresses you can open, reset one password, and add one staff member with a single area. Do it all again on your live store after you publish.

Questions people ask.

They fill in Full name, Email, Password and Confirm password. If your project asks new accounts to confirm their email, they see “Account created” and a confirmation email arrives; then they press Sign in.

They press Forgot password? on the sign-in screen, enter their email on Reset your password and press Send reset link. The link in the email opens Choose a new password.

Supabase’s built-in sender is for trying things out: it only delivers to members of your Supabase project’s team, and only a few emails an hour. Set up your store’s sender under Settings → Notifications, with Resend or your own SMTP server, as the store emails guide shows.

The first account created on the store becomes its admin. Create yours before you share the site, then add staff under Settings → Staff.

Only the areas you choose. When you add a staff member under Settings → Staff, you pick from Products, Orders, Customers, Leads, Bookings, Discounts, Blog, and Shipping & tax.

Start vibe coding today.

Download 3Edit for Mac or Windows and build your first professional website in minutes.

Download now
macOSWindows