wiki:UseCase0002

Version 1 (modified by 193284, 10 days ago) ( diff )

--

Use-case 0002 - User Login

Initiating actor: Bride / Groom (Registered user)

Other actors: None

Description

The user logs into the wedding planner system using their email and personal data. The system validates the user credentials and grants access to the dashboard where the user can manage weddings, events, guests and bookings.

Scenario

  1. The user opens the login page.
  2. The system displays a login form (email + verification fields).
  3. The user enters email and submits the form.
  4. The system checks if a user with the given email exists.
SET search_path TO project;

SELECT user_id, first_name, last_name, email
FROM "user"
WHERE email = :email;
  1. If the user exists, the system logs the user in and loads the user profile/dashboard.
SET search_path TO project;

SELECT user_id, first_name, last_name, email, phone_number, gender, birthday
FROM "user"
WHERE user_id = :user_id;
  1. If the email does not exist, the system displays an error message: "No account found with this email."
Note: See TracWiki for help on using the wiki.