added users model and tests