Fix logout so that it refreshes the header.

- Add `clear` method to `Field` and `Model` to reset the `User` object.
- Call `controller.user.clear` on logout.