use the username (which should be admin) and the password to log in
You should see a page which says "Send Message" which allows you to send an internal message.
In name, put "Not Admin", and in message put "Hello", then click Send.
In the terminal, run ./scripts/mongo-cli.sh
use login
db.messages.find();
This should give you something like { "_id" : ObjectId("66e716f8db99a34802c089a5"), "name" : "Not Admin", "message" : "Hello", "__v" : 0 }
Your task
First, we don't want the user to be allowed to use a name other than their own username. For example, if the username is admin, the "User" should automatically be their username "admin" and not modifiable.
Next, we want to have a timestamp in UTC in the database, so we know when this was sent.
use login
db.messages.find();
{ "_id" : ObjectId("66e716f8db99a34802c089a5"), "name" : "Not Admin", "message" : "Hello", "__v" : 0 }
Your task