sets up user model