complete users model and tests