add user model and prelim. tests