Register controller, view and model fixes.

There is a minor bug in the view with flashes.