diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index bc94cef..450747f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,16 +3,8 @@
-
-
-
-
-
-
-
-
-
+
@@ -29,8 +21,8 @@
-
-
+
+
@@ -98,12 +90,12 @@
-
+
@@ -113,7 +105,7 @@
true
DEFINITION_ORDER
-
+
@@ -151,6 +143,7 @@
+
@@ -161,13 +154,12 @@
-
+
-
@@ -261,45 +253,31 @@
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -326,9 +304,6 @@
-
-
-
@@ -336,9 +311,6 @@
-
-
-
@@ -346,7 +318,6 @@
-
@@ -354,7 +325,6 @@
-
@@ -369,9 +339,6 @@
-
-
-
@@ -400,9 +367,6 @@
-
-
-
@@ -417,7 +381,6 @@
-
@@ -425,7 +388,6 @@
-
@@ -433,7 +395,6 @@
-
@@ -441,7 +402,6 @@
-
@@ -449,7 +409,6 @@
-
@@ -457,7 +416,6 @@
-
@@ -465,20 +423,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -486,7 +430,6 @@
-
@@ -494,9 +437,6 @@
-
-
-
@@ -504,7 +444,6 @@
-
@@ -512,9 +451,6 @@
-
-
-
@@ -537,7 +473,6 @@
-
@@ -545,7 +480,6 @@
-
@@ -553,7 +487,6 @@
-
@@ -568,7 +501,6 @@
-
@@ -576,7 +508,6 @@
-
@@ -584,7 +515,6 @@
-
@@ -592,7 +522,6 @@
-
@@ -600,7 +529,6 @@
-
@@ -608,7 +536,6 @@
-
@@ -616,9 +543,6 @@
-
-
-
@@ -626,9 +550,6 @@
-
-
-
@@ -636,9 +557,6 @@
-
-
-
@@ -646,9 +564,6 @@
-
-
-
@@ -656,9 +571,6 @@
-
-
-
@@ -666,7 +578,6 @@
-
@@ -674,7 +585,6 @@
-
@@ -682,7 +592,6 @@
-
@@ -690,9 +599,6 @@
-
-
-
@@ -700,31 +606,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
@@ -732,7 +622,6 @@
-
@@ -740,17 +629,13 @@
-
-
-
-
-
-
+
+
diff --git a/apps/__pycache__/custom.cpython-36.pyc b/apps/__pycache__/custom.cpython-36.pyc
index e0346fb..458ff71 100644
Binary files a/apps/__pycache__/custom.cpython-36.pyc and b/apps/__pycache__/custom.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/models.cpython-36.pyc b/apps/system/__pycache__/models.cpython-36.pyc
index f211047..3a07064 100644
Binary files a/apps/system/__pycache__/models.cpython-36.pyc and b/apps/system/__pycache__/models.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/views.cpython-36.pyc b/apps/system/__pycache__/views.cpython-36.pyc
index 15a6daa..f3fd174 100644
Binary files a/apps/system/__pycache__/views.cpython-36.pyc and b/apps/system/__pycache__/views.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/views_menu.cpython-36.pyc b/apps/system/__pycache__/views_menu.cpython-36.pyc
index b481154..da598de 100644
Binary files a/apps/system/__pycache__/views_menu.cpython-36.pyc and b/apps/system/__pycache__/views_menu.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/views_role.cpython-36.pyc b/apps/system/__pycache__/views_role.cpython-36.pyc
index 2402077..905c786 100644
Binary files a/apps/system/__pycache__/views_role.cpython-36.pyc and b/apps/system/__pycache__/views_role.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/views_structure.cpython-36.pyc b/apps/system/__pycache__/views_structure.cpython-36.pyc
index 7703ac1..352da33 100644
Binary files a/apps/system/__pycache__/views_structure.cpython-36.pyc and b/apps/system/__pycache__/views_structure.cpython-36.pyc differ
diff --git a/apps/system/__pycache__/views_user.cpython-36.pyc b/apps/system/__pycache__/views_user.cpython-36.pyc
index 4f7f5e7..3603868 100644
Binary files a/apps/system/__pycache__/views_user.cpython-36.pyc and b/apps/system/__pycache__/views_user.cpython-36.pyc differ
diff --git a/db.sqlite3 b/db.sqlite3
index 364f2cf..537bf92 100644
Binary files a/db.sqlite3 and b/db.sqlite3 differ
diff --git a/sandboxMP/__pycache__/settings.cpython-36.pyc b/sandboxMP/__pycache__/settings.cpython-36.pyc
index 81d3f73..cf9d0a2 100644
Binary files a/sandboxMP/__pycache__/settings.cpython-36.pyc and b/sandboxMP/__pycache__/settings.cpython-36.pyc differ
diff --git a/sandboxMP/settings.py b/sandboxMP/settings.py
index 4c9b652..7520930 100644
--- a/sandboxMP/settings.py
+++ b/sandboxMP/settings.py
@@ -143,4 +143,10 @@ SAFE_URL = [r'^/$',
'/media/',
'/admin/',
'/ckeditor/',
- ]
\ No newline at end of file
+ ]
+
+# session timeout
+
+SESSION_COOKIE_AGE = 60 * 20
+SESSION_EXPIRE_AT_BROWSER_CLOSE = True
+SESSION_SAVE_EVERY_REQUEST = True
\ No newline at end of file