== Login of an existing user == === Actors === Guest === Scenario === 1. The user clicks on the "LOGIN" button [[Image(clickLogin.png)]] 2. A login form is displayed [[Image(loginForm.png)]] 3. The user fills out the form and clicks SIGN IN [[Image(login.png)]] 4. The server validates the form data and checks the Users table {{{ SELECT * FROM users WHERE username = $username OR email = $username LIMIT 1; }}} 5. The user gets a success message and is redirected to the home page [[Image(homePage.png)]]