== Registration of a new user == === Actors === Guest === Scenario === 1. The guest clicks on the "REGISTER" button 2. A registration form is displayed [[Image(registerForm.png)]] 3. The guest fills out the form and clicks REGISTER 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; }}} [[Image(registerCredentials.png)]] 5. The guest gets a success message and is redirected to the login form