Modified the Portfolio controller to so that the form works with validation although the error message doesn't appear yet