Added autofac support and User model