validating the edit company page