Refactored PublicProfileController so both forms are handled by a single case class ProfileForms.