added test
implemented user model class