I am drawing a use case diagram for an Online Bill Payment and I am confused about the authentification step. Is it better to create separate use cases for a new user and for a registered user like I've tried below
or should I create just a login use case and then extend the register, for example like this:
or should I create an authentification use case and extend login, logout and register?
There are several approaches depending on expected system behavior and your writing style.
Login, logout and registration (also session expiration) scenarios are not connected in the way you asking. You can, for example, tag them as AAA or put in AAA chapter/folder. There is no need to mix them in one scenario.