added user model and controllers
added user model tests