fixed User.cs errors and restored ProfileController.cs