Do not remove content of main on login/logout
Remove year from copyleft notice
Use list instead of datalist and close dialog on form submission.

Also, correct datalist attribute to be list.
Login form is now a dialog.
Load login dialog, but do not open it on page load.
Open login dialog instead of requesting it.