diff --git a/README.md b/README.md
index f0657ab..39af258 100644
--- a/README.md
+++ b/README.md
@@ -457,3 +457,27 @@ urlpatterns = [
### 5. JSON by ID
![jsonbyid](https://github.com/fathonidf/adventurers-inventory/assets/105644250/9ae03290-57ea-4acc-9d1c-e012056b60ca)
+
+---
+
+# Tugas 4
+
+
+1. Apa itu Django UserCreationForm, dan jelaskan apa kelebihan dan kekurangannya?
+
+
+
+2. Apa perbedaan antara autentikasi dan otorisasi dalam konteks Django, dan mengapa keduanya penting?
+
+
+
+3. Apa itu cookies dalam konteks aplikasi web, dan bagaimana Django menggunakan cookies untuk mengelola data sesi pengguna?
+
+
+
+4. Apakah penggunaan cookies aman secara default dalam pengembangan web, atau apakah ada risiko potensial yang harus diwaspadai?
+
+
+
+5. Jelaskan bagaimana cara kamu mengimplementasikan checklist di atas secara step-by-step (bukan hanya sekadar mengikuti tutorial).
+
diff --git a/main/migrations/0003_item_user.py b/main/migrations/0003_item_user.py
new file mode 100644
index 0000000..2ca9d1a
--- /dev/null
+++ b/main/migrations/0003_item_user.py
@@ -0,0 +1,22 @@
+# Generated by Django 4.2.4 on 2023-09-20 08:43
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('main', '0002_item_delete_weapon'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='item',
+ name='user',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
+ preserve_default=False,
+ ),
+ ]
diff --git a/main/models.py b/main/models.py
index 8e726ef..f4e61d5 100644
--- a/main/models.py
+++ b/main/models.py
@@ -1,7 +1,9 @@
from django.db import models
+from django.contrib.auth.models import User
class Item(models.Model):
+ user = models.ForeignKey(User, on_delete=models.CASCADE)
name = models.CharField(max_length=255)
amount = models.IntegerField()
description = models.TextField()
diff --git a/main/templates/login.html b/main/templates/login.html
new file mode 100644
index 0000000..ce64cd6
--- /dev/null
+++ b/main/templates/login.html
@@ -0,0 +1,45 @@
+{% extends 'base.html' %}
+
+{% block meta %}
+