== Registration of a new user == === Actors === Guest === Scenario === 1. The guest clicks on the "REGISTER" button [[Image(clickRegister.png, width=800, height=420)]] 2. A registration form is displayed [[Image(registerForm.png, width=800, height=420)]] 3. The guest fills out the form and clicks REGISTER [[Image(registerCredentials.png, width=800, height=420)]] 4. The server validates the form data and inserts a new entry in the Users table {{{ INSERT INTO users (username, email, password) VALUES ($username, $email, $passwordHash) RETURNING id; }}} 5. The guest gets a success message and is redirected to the login form [[Image(login.png, width=800, height=420)]]