Use Cases 5.2: A User Can Login As A Therapist - CBTYoung/Documentation GitHub Wiki

Description

A Guest can login as a Therapist with identifying information. After a successful registration process, the user is now identified as a Therapist.

Actors

Guest, Therapist.

Pre conditions

  1. The user is not logged in yet.
  2. The user is a Guest before the login process.

Parameters

ID, Password.

Post conditions

The user is identified as a Therapist.

Sequence of events

  1. The User picks the option to login as Therapist.
  2. The user enters the required login information.
  3. Verify user details.
  4. The User gets an approval message.

Alternative flows

  1. No user with the given user identifiers exists.
  1. The user tries to login with a non existing user identifiers.
  2. The system returns a matching error message to the user.