Added  user controller and dependency resolver