Return of the hashmaps.

Also a fix to the logout button (being able to get around without being
logged in), I think.