generated users model and controller