Implementation of User model spec.