Improved flash messages, fixed user edit page.