UPDATE: login and logout view completed!
UPDATE: update document.