Write Unit Tests for Login Functionality
User Story
As a developer, I want to test the login functionality so that we can confirm that valid users can log in and invalid users are rejected.
Acceptance Criteria
- Test with valid credentials logs the user in
- Test with invalid username shows error
- Test with wrong password shows error
- Edge cases like empty fields are handled
issue