added users model and controller
added user model tests