title: Sequence diagram including Registration and Login
body: <p>I am trying to build a sequence diagram where I show that a user can:</p>
  <ul>
  <li>Log in to an application if their details are correct. If details are correct they are redirected to the main dashboard</li>
  <li>if the details are incorrect they are redirected to the registration page where their details are then checked to see if a user is already registered under the entered email. If not already registered a user is created and they are redirected to main dashboard</li>
  <li>if already registered then a &quot;username or password incorrect&quot; message is shown</li>
  </ul>
  <p>I am not sure if this is the correct or best way to show registration and login, I feel like the diagram is not reading correctly. Does this explain the scenario well? or is there more I should add to this.</p>
  <p><strong>Initial diagram:</strong></p>
  <p><a href="https://i.stack.imgur.com/fxZkA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fxZkA.png" alt="enter image description here" /></a></p>
  <p><strong>Revised following the answer:</strong>
  Does this revised diagram explain the scenario better?
  <a href="https://i.stack.imgur.com/RTchP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RTchP.png" alt="enter image description here" /></a></p>
  <p><strong>Further revised with Nested alt</strong>
  <a href="https://i.stack.imgur.com/hbL9A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hbL9A.png" alt="Further revised with nested alt" /></a></p>
  <p><strong>FINAL Revision</strong>
  <a href="https://i.stack.imgur.com/a1qgB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a1qgB.png" alt="enter image description here" /></a></p>