generated user model and controller