remove generated code from user model