created user model for database