start of user model
Add debug and flash