Added 404 page
Added LOGGED_IN global variable