passing correct vars to user model