* Add documentation in code.
* Some final polishing.
* After logout, redirect to the main page.