added secure session cookies
-logout links added
-error page created
TODO make queries user-specific based on session cookies