User model and testing set up