Working user creation and flash messages