Login
is use case, right? But I am confused about Invalid login credential
: Is it a use case or a system operation?
No, "login" is not a use case. Here is why: Is it necessary to include the login for every usecase?
Login is a common precondition to real use cases.
Second step: Think about the outcomes that bring a benefit.