added users model and authentication