Add user creation and validation with flash messages