From security perspective, below are not good practices. Please use message without disclosing specific information. For example: "Login unsuccessful".
- Try to login with an invalid username "abc". The system returns specific error message
- Error verifying user existence: No user found by username abc
- Try to login with a valid username but wrong password. The system returns specific error message
- Password does not match