diff --git a/configManager.js b/configManager.js
index 4db79a3..1218f7e 100644
--- a/configManager.js
+++ b/configManager.js
@@ -20,6 +20,11 @@ module.exports=
return "/home/jeff/work/aaSchool/Algo/online Lectures/";
},
+ getPublicDirectory: function()
+ {
+ return "/home/jeff/work/aaSchool/Algo/online Lectures/";
+ },
+
getServerURL: function()
{
return "http://localhost:5000";
diff --git a/html/error.html b/html/error.html
new file mode 100644
index 0000000..1549c1f
--- /dev/null
+++ b/html/error.html
@@ -0,0 +1,4 @@
+
{errorMessage}
+
+
+
\ No newline at end of file
diff --git a/html/home.html b/html/home.html
index 4f5e8fd..aa1beab 100644
--- a/html/home.html
+++ b/html/home.html
@@ -1,19 +1,24 @@
-
-
-
-
Welcome {username}.
-
-
+ {else}
+ {>login}
+ {/if}
\ No newline at end of file
diff --git a/html/mainTemplate.html b/html/mainTemplate.html
index c26cb1f..a128c5f 100644
--- a/html/mainTemplate.html
+++ b/html/mainTemplate.html
@@ -1,12 +1,7 @@
{>header}
- {if loggedIn}
- {>main}
- {else}
- {>login}
- {/if}
-
+ {>main}
{>footer}
\ No newline at end of file
diff --git a/html/videos.html b/html/videos.html
index dac14f0..6786e57 100644
--- a/html/videos.html
+++ b/html/videos.html
@@ -8,7 +8,21 @@
- {for video in videos}
+ {for video in private}
+
+ {/for}
+ {for video in public}