Refactored params in controllers and added user update controller