add user base model and mysql2 adaptor