save user - flash message
fix data structure for display in templates
clean up