defined user model for DB