add flash messages to user edit